home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / tls / tls069.ltr < prev    next >
Text File  |  1995-01-15  |  8KB  |  166 lines

  1. This emulator is useful for running certain Windows
  2. applications under Merge on SCO.  See the article
  3. "Accessing CDROM files from Windows" in the Nov. 1994
  4. issue of "Inside SCO UNIX Systems".  Back issue and
  5. subscription requests may be directed to 
  6.  
  7.    The Cobb Group
  8.    1-800-223-8720  or 502-493-3232
  9.    fax: 502-491-8050
  10.    email:  inside_sco@merlin.cob.ziff.com
  11.  
  12. Dion L. Johnson
  13. SCO Product Manager - Development Systems  400 Encinal St. Santa Cruz, CA 95061
  14. dionj@sco.com   Compuserve: 71712,3301   FAX: 408-427-5417  Voice: 408-427-7565
  15. =============================================================
  16. The author's doc file:
  17.  
  18.     CDEMU2: an MSCDEX emulator for networked CD-ROM drives
  19.                          User's Guide
  20.                         By J.M.A. Hall
  21.  
  22. Overview
  23. On MS-DOS based computers, CD-ROM drives that are directly
  24. connected are normally made 'known' to the system using a
  25. program called MSCDEX, the Microsoft CD-ROM Extensions. The
  26. purpose of this program is firstly to make the files of the CD-
  27. ROM appear like an MS-DOS disk drive (which is very large, and
  28. read-only); and secondly to allow access to CD-ROM specific
  29. functions (such as the playing of audio tracks) in a hardware-
  30. independent manner.
  31. Several commercial solutions now exist for sharing CD-ROMS
  32. within a local-area network (LAN); most, however, are
  33. expensive and only cost-effective on large (and therefore
  34. expensive) networks. For small networks, a cheaper option is
  35. to use a peer-to-peer networking package such as NetWare Lite
  36. to share the drive letter assigned to the CD-ROM drive by
  37. MSCDEX across the network. The pitfall with this scheme is
  38. that a number of CD-ROM access packages do not simply access
  39. the CD-ROM as if it were an MS-DOS disk drive; instead they
  40. make special calls to MSCDEX, which fail since MSCDEX is not
  41. loaded on the machines accessing the drive across the network.
  42. Happily, most only make a few calls, principally to determine
  43. that MSCDEX is loaded and to determine which drives on the
  44. system are in fact CD-ROMs
  45. The function of CDEMU2, therefore, is to emulate MSCDEX in a
  46. limited fashion in order to fool CD-ROM applications into
  47. working across a network. It must be noted that not all CD-ROM
  48. applications will work in this fashion: applications that rely
  49. on playing of audio tracks will obviously not be usable in a
  50. network environment. Others, such as the Harrap Multilingual
  51. Dictionary, ignore the disk drive set up by MSCDEX and access
  52. the sectors of the CD-ROM directly; this and other
  53. applications that do this cannot be shared in this fashion. It
  54. should also be noted that using a CD-ROM application across a
  55. network legally requires that it be licensed for use on
  56. multiple machines concurrently.
  57.  
  58. Installation
  59. The package consists of this document file and two programs,
  60. CDEMU2.COM and CDINFO.EXE. These may be placed in any
  61. convenient directory, though it is suggested that they be
  62. stored in a single directory on a file server which is
  63. accessible to all prospective clients of the networked CD-ROM
  64. drive and that this directory be included in the DOS PATH on
  65. all such machines.
  66.  
  67. Usage of CDEMU2
  68. The command line format for CDEMU2 is as follows:
  69.           CDEMU2 d[:][=vtoc-file] [...] or
  70.           CDEMU2 /U to unload from memory
  71. where
  72. d[:]      is the MS-DOS disk drive letter which will be used
  73.           to access the CD-ROM drive across the network. It is
  74.           not necessary that this disk drive actually exist or
  75.           have been created at the time CDEMU2 is loaded,
  76.           though of course it must when the CD-ROM application
  77.           is started.
  78. vtoc-file is the name of a file created by the CDINFO utility.
  79.           This is used when it is necessary to emulate the
  80.           "Get VTOC" function in MSCDEX (see below for further
  81.           details).
  82. ...       indicates that the above can be repeated as often as
  83.           necessary up to the length limit of an MS-DOS
  84.           command line (127 characters)
  85.  
  86. Usage of CDINFO
  87. Certain CD-ROM packages, such as "Le Robert Electronique", not
  88. only check that MSCDEX is loaded, but read the "VTOC" or
  89. "Volume Table of Contents" as well (presumably in order to
  90. check that the CDROM is the correct one). As the VTOC is not
  91. accessed as an MS-DOS file, this function cannot be directly
  92. handled by the emulator. There is, however, a solution: the
  93. VTOC can be read from the CD-ROM into an MS-DOS file, and
  94. CDEMU2 can emulate the "Read VTOC" function  by reading this
  95. file instead. This is what the CDINFO utility is for.
  96. The command line format for CDINFO is
  97.           CDINFO d: vtoc-file
  98. where
  99. d:        is the drive letter assigned to the CD-ROM drive.
  100.           Note that you must run CDINFO on the system that the
  101.           physical CD-ROM drive is connected to!
  102. vtoc-file is the name of the file to store the VTOC
  103.           information in. It is suggested that this be stored
  104.           on the system acting as a fileserver and made
  105.           available to the client PCs.
  106.  
  107.  
  108. Examples
  109. Suppose that the CDEMU stuff (together with the VTOC emulation
  110. files) live in the directory C:\CDEMU2 on the machine acting
  111. as the CD-ROM server and  the CD-ROM product to be shared is
  112. "Le Robert Electronique" which appears to the server as drive
  113. E:. The steps to be followed are then:
  114. On the server:
  115. 1.   Make C:\CDEMU2 and E:\ available to the network (this
  116.      assumes that the network software is already set up).
  117. 2    Ensure that the CD-ROM is mounted in its drive. Change
  118.      directory to C:\CDEMU2 and issue the command
  119.                CDINFO E: LEROBERT.CDI
  120. On the client:
  121. 1.   Access the CD emulation software and the CD-ROM drive on
  122.      the server using the network software. It will be assumed
  123.      that these will be accessed as drives G: and H: on the
  124.      client (i.e. G:\ on the client corresponds to C:\CDEMU2
  125.      on the server and H:\ on the client corresponds to E:\ on
  126.      the server).
  127. 2.   Add the directory G:\ to the PATH statement on the
  128.      client. If the network software provides no other way to
  129.      do this, write a batch file that contains the line
  130.                PATH G:\;%PATH%
  131.      and execute it.
  132. 3.   Load CDEMU2 on the client with the following command
  133.      line:
  134.                CDEMU2 H:=G:\LEROBERT.CDI
  135. 4.   Run the "Le Robert" access program
  136. 5.   Unload the emulator from memory, if required, using the
  137.      command
  138.                CDEMU2 /U
  139.  
  140. Special notes
  141. 1.   Most CD-ROM packages have a piece of software (usually
  142. called a "search engine" for database type applications) which
  143. needs to be installed on a hard disk This software may or may
  144. not be sharable via the network, depending on how it is
  145. written.
  146. 2.   If the application makes a call to MSCDEX that is not
  147. supported by the emulator the screen will be cleared and an
  148. error message will be reported, together with the parameters
  149. to the call (i.e. the CPU register values at the time). This
  150. will normally be an indication that the application cannot be
  151. shared over a network using this emulator. The user should
  152. press a key, and then quit the application, since its screen
  153. contents will have been destroyed.
  154. 3    It should be noted that an application must be licensed
  155. for multiple users on a network even if this emulator is
  156. capable of making it sharable.
  157.  
  158. Copyright
  159. This software is copyright (c) 1992 J.M.A. Hall. However, it
  160. may be freely redistributed providing all the files comprising
  161. it are distributed together, and on the understanding that
  162. there is NO WARRANTY attached to this software. The author
  163. would be interested in comments and suggestions (email
  164. J.M.Hall@soton on JANET or J.M.Hall@soton.ac.uk on the
  165. Internet)
  166.